<style tyle="text/css">
.pList-scroll{
        position: absolute;
        top: 50px!important;
        bottom: 0;
        left: 0;
        right: 0;
    }
</style>
<ion-view>
<ion-content scroll="false">
<div id="searchDiv" class="list list-inset" style="background-color: #efeff4;margin: 0px;">
	 <label class="item item-input" style="border-radius: 8px !important;margin:5px 5px;padding: 5px;">
		 <table style="width: 100%;">
		 	<tr>
			 	<td id="searchTd" style="width: 50%;text-align: right;padding: 0px 5px;">
			 	 	<img id="searchBtn"  src="img/search1.png" style="width: 22px;height: 22px;vertical-align:middle;">
	 	 		</td>
	 	 		<td>
			 	 	<table style="width: 100%;height: 100%;">
				 	 	<tr>
				 	 		<td><input class="ng-pristine ng-valid ng-touched" id="lineInput"  type="search" style="font-family:PingFangSC-Regular;font-size:16px;color:#9c9c9d;letter-spacing:-0.33px;line-height: 18px;height: 16px;padding: 4px 0px;"  ng-model="search.line" placeholder=" 搜索"></td>
				 	 		<td>
				 	 			<img id="clearBtn" ng-show="clearBtnFlag" src="img/clear.png" style="width: 22px;height: 22px;vertical-align:middle;" ng-click="clearInputVal()">
				 	 		</td>
				 	 	</tr>
			 	 	</table>
	 	 		</td>
		 	</tr>
		 </table>
	</label> 
</div>
<ion-scroll class="pList-scroll" ng-style="{'height':scrollDivHeight,'margin-top':'10px'}">
	<div class="list">
            <div ng-if="thinkFlag"  ng-repeat="linesThink in linesThinkArray" class="item" ng-click="showDetail(linesThink)" style="border:none;padding-right:0px;">
	            <table style="width:100%;">
		            <tr class="thinkTr">
			            <td>
			           	 	<img src="img/history.png" style="width: 25px;height: 25px;vertical-align: text-bottom;"> 
	                		<span ng-bind-html="linesThink.lineNameHtml" style="margin-left: 14px;font-family: PingFangSC-Regular;font-size: 18px;"></span>
	                		<span style="font-family: PingFangSC-Regular; font-size: 16px; color: #666666; text-align: left;">(往 {{linesThink.lineDirection}} 方向)</span> 
			            </td>
		            </tr>
		             <tr>
			             <td>
			              	<div style="background:#eeeeee;width:100%;height:1px;margin-top: 10px;margin-left: 40px;"></div>
			             </td>
		             </tr>
	            </table>
            </div>
            <div ng-if="historyFlag"  ng-repeat="lineHistory in linesHistoryArray.slice().reverse()" class="item" ng-click="showDetail({{lineHistory}})" style="border:none;padding-right:0px;">
             	<table style="width:100%;">
		            <tr>
			            <td>
			                <img src="img/history.png" style="width: 25px;height: 25px;vertical-align: text-bottom;"> 
						 	<span style="margin-left: 14px;font-family: PingFangSC-Regular; font-size: 18px; color: #333333; text-align: left;">{{lineHistory.lineName}}</span>
						 	<span style="font-family: PingFangSC-Regular; font-size: 16px; color: #666666; text-align: left;">(往 {{lineHistory.lineDirection}} 方向)</span>
			 	    	</td>
		            </tr>
				 	<tr>
			             <td>
			              	<div style="background:#eeeeee;width:100;height:1px;margin-top: 10px;margin-left: 40px;"></div>
			             </td>
		            </tr>
	            </table>
            </div>
            <div style="width: 100%;text-align: center;margin-top: 10px;" ng-show="linesHistoryArray.length>0">
				<span style="font-family: PingFangSC-Regular; font-size: 20px; color: #333333; text-align: center;" ng-click="clearHistory()">清空历史记录</span>
			</div>
	</div>
</ion-scroll>
</ion-content>
<div id="bannerDiv" class="list list-inset" style="background:url(img/banner_bottom.png);margin: 0px;position: absolute;bottom: 0;height: 15%;width: 100%;background-size: 100% 100%;">
</div>
 </ion-view>